#ifndef ANIMATED_GRAPHIC_
#define ANIMATED_GRAPHIC_

#include "sdl_game_object.h"
#include "load_params.h"
#include "game_object_factory.h"

class AnimatedGraphic : public SDLGameObject {
private:
    int anim_speed_;  // should be not need
public:
    AnimatedGraphic();
    virtual void Update() override;
    virtual void Load(const LoadParams* params) override;
};

class AnimatedGraphicCreator : public BaseCreator {
public:
    GameObject* CreateGameObject() const override {
        return new AnimatedGraphic();
    }

};

#endif // ANIMATED_GRAPHIC_

